﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace GesWork
{
    public partial class template : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            //Mantiene el acordeon en el menu pertinente despues de cada click
            if (Request.Url.ToString().Contains("maestros"))
            {
                Accordion1.SelectedIndex = 0;
            }else if (Request.Url.ToString().Contains("actividades"))
            {
                Accordion1.SelectedIndex = 1;
            }else if (Request.Url.ToString().Contains("ventas"))
            {
                Accordion1.SelectedIndex = 2;
            }

            
            

          
        }

      
    }
}
